.class Lcom/zuiapps/common/feedback/ContactActivity$3;
.super Ljava/lang/Object;
.source "ContactActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuiapps/common/feedback/ContactActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/zuiapps/common/feedback/ContactActivity;


# direct methods
.method constructor <init>(Lcom/zuiapps/common/feedback/ContactActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/zuiapps/common/feedback/ContactActivity;

    .prologue
    .line 111
    iput-object p1, p0, Lcom/zuiapps/common/feedback/ContactActivity$3;->this$0:Lcom/zuiapps/common/feedback/ContactActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 7
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 115
    :try_start_0
    iget-object v4, p0, Lcom/zuiapps/common/feedback/ContactActivity$3;->this$0:Lcom/zuiapps/common/feedback/ContactActivity;

    # getter for: Lcom/zuiapps/common/feedback/ContactActivity;->contactInfoEdit:Landroid/widget/EditText;
    invoke-static {v4}, Lcom/zuiapps/common/feedback/ContactActivity;->access$000(Lcom/zuiapps/common/feedback/ContactActivity;)Landroid/widget/EditText;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/EditText;->getEditableText()Landroid/text/Editable;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    .line 116
    .local v1, "contactInfo":Ljava/lang/String;
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_19

    .line 136
    .end local v1    # "contactInfo":Ljava/lang/String;
    :goto_18
    return-void

    .line 120
    .restart local v1    # "contactInfo":Ljava/lang/String;
    :cond_19
    iget-object v4, p0, Lcom/zuiapps/common/feedback/ContactActivity$3;->this$0:Lcom/zuiapps/common/feedback/ContactActivity;

    # getter for: Lcom/zuiapps/common/feedback/ContactActivity;->agent:Lcom/umeng/fb/FeedbackAgent;
    invoke-static {v4}, Lcom/zuiapps/common/feedback/ContactActivity;->access$200(Lcom/zuiapps/common/feedback/ContactActivity;)Lcom/umeng/fb/FeedbackAgent;

    move-result-object v4

    invoke-virtual {v4}, Lcom/umeng/fb/FeedbackAgent;->getUserInfo()Lcom/umeng/fb/model/UserInfo;

    move-result-object v3

    .line 121
    .local v3, "info":Lcom/umeng/fb/model/UserInfo;
    if-nez v3, :cond_2a

    .line 122
    new-instance v3, Lcom/umeng/fb/model/UserInfo;

    .end local v3    # "info":Lcom/umeng/fb/model/UserInfo;
    invoke-direct {v3}, Lcom/umeng/fb/model/UserInfo;-><init>()V

    .line 123
    .restart local v3    # "info":Lcom/umeng/fb/model/UserInfo;
    :cond_2a
    invoke-virtual {v3}, Lcom/umeng/fb/model/UserInfo;->getContact()Ljava/util/Map;

    move-result-object v0

    .line 124
    .local v0, "contact":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    if-nez v0, :cond_35

    .line 125
    new-instance v0, Ljava/util/HashMap;

    .end local v0    # "contact":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    .line 127
    .restart local v0    # "contact":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    :cond_35
    const-string v4, "plain"

    invoke-interface {v0, v4, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 128
    invoke-virtual {v3, v0}, Lcom/umeng/fb/model/UserInfo;->setContact(Ljava/util/Map;)V

    .line 130
    iget-object v4, p0, Lcom/zuiapps/common/feedback/ContactActivity$3;->this$0:Lcom/zuiapps/common/feedback/ContactActivity;

    # getter for: Lcom/zuiapps/common/feedback/ContactActivity;->agent:Lcom/umeng/fb/FeedbackAgent;
    invoke-static {v4}, Lcom/zuiapps/common/feedback/ContactActivity;->access$200(Lcom/zuiapps/common/feedback/ContactActivity;)Lcom/umeng/fb/FeedbackAgent;

    move-result-object v4

    invoke-virtual {v4, v3}, Lcom/umeng/fb/FeedbackAgent;->setUserInfo(Lcom/umeng/fb/model/UserInfo;)V
    :try_end_46
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_46} :catch_4c

    .line 135
    .end local v0    # "contact":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    .end local v1    # "contactInfo":Ljava/lang/String;
    .end local v3    # "info":Lcom/umeng/fb/model/UserInfo;
    :goto_46
    iget-object v4, p0, Lcom/zuiapps/common/feedback/ContactActivity$3;->this$0:Lcom/zuiapps/common/feedback/ContactActivity;

    # invokes: Lcom/zuiapps/common/feedback/ContactActivity;->back()V
    invoke-static {v4}, Lcom/zuiapps/common/feedback/ContactActivity;->access$100(Lcom/zuiapps/common/feedback/ContactActivity;)V

    goto :goto_18

    .line 132
    :catch_4c
    move-exception v2

    .line 133
    .local v2, "e":Ljava/lang/Exception;
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_46
.end method
